Peri-intervention Diabetes Management Algorithm (DIAPI)